﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>UpAttendExcption</title>
    <link href="~/Resources/mainFrame/css/bootstrap.min14ed.css" rel="stylesheet">
    <link href="~/Resources/mainFrame/css/font-awesome.min93e3.css" rel="stylesheet">
    <link href="~/Resources/mainFrame/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="~/Resources/mainFrame/css/animate.min.css" rel="stylesheet">
    <link href="~/Resources/mainFrame/css/style.min862f.css" rel="stylesheet">

    <!--treeview需要的css-->
    <link href="~/Resources/mainFrame/css/plugins/treeview/bootstrap-treeview.css" rel="stylesheet">

    <!--日期需要的css和js-->
    <link href="~/Resources/mainFrame/css/plugins/datapicker/datepicker3.css" rel="stylesheet" />
    <link href="~/Resources/mainFrame/js/plugins/zTree3/css/metroStyle/zTreeStyle.css" rel="stylesheet" />
    <link href="~/Resources/css/BootTableHelp/pagination.css" rel="stylesheet" />
    <style>
        /* 半透明的遮罩层 */
        .overlay {
            background: #000;
            filter: alpha(opacity=50); /* IE的透明度 */
            opacity: 0.5; /* 透明度 */
            display: none;
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            z-index: 100; /* 此处的图层要大于页面 */
            display: none;
        }
    </style>
</head>
<body class="panel-body">
    <div class="">
        <div id="divWage" class="spiner-example" style="width:100%;height:100%;display:none;z-index:100;">
            <div class="sk-spinner sk-spinner-wave" style="">
                <div class="sk-rect1"></div>
                <div class="sk-rect2"></div>
                <div class="sk-rect3"></div>
                <div class="sk-rect4"></div>
                <div class="sk-rect5"></div>
            </div>
        </div>
        <div class="row">
            <div id="divTree" class="col-sm-2" style="overflow:auto; border-right:1px solid gray;">
                <input type="text" name="searchArea" id="searchArea" style="width:100%;height:30px;" placeholder="请输入项目名称" />
                <select id="seSheng" style="width:100%;height:30px;"></select>
                <select id="seShi" style="width:100%;height:30px;"></select>
                <div id="divtreeDetail" style="overflow-y:auto; overflow-x:hidden;">
                    <ul id="testTree" style="padding:0px;" class="ztree"></ul>
                </div>
            </div>
            <div class="col-sm-10">
                <div class="example">
                    <table id="TableFromData" data-mobile-responsive="true"></table>
                </div>
            </div>
        </div>
        <div id="table-tool" class="row">
            <input type="hidden" id="JianDie" />
            <div class="col-sm-12" style="padding:0;">
                <div class="input-group">
                    <span class="input-group-btn">
                        <input type="text" id="txtSearchName" style="width:160px;" class="form-control" placeholder="人员姓名">
                        <button type="button" id="btnSearch" class="btn btn-primary">
                            <i class="glyphicon glyphicon-search"></i>
                            查询
                        </button>
                        <button type="button" id="btnRealAddress" class="btn btn-primary" style="margin-left:2px;">
                            <i class="glyphicon glyphicon-arrow-up"></i>
                            上报正式地址
                        </button>
                    </span>
                </div>
            </div>
        </div>
        <div id="divResult" style="display:none;">
            <div class="input-group" style="margin-top:10px;">
                <div id="lblMess"></div>
            </div>
        </div>
        <div id="SelectCheckDate" class="row" style="display:none;">
            <div id="divCheck" class="col-sm-12"></div>
        </div>
    </div>
    @Scripts.Render("~/bundles/mainScript")
    @Scripts.Render("~/bundles/bootstrap-table")
    @Scripts.Render("~/bundles/TreeViewItem")
    @Scripts.Render("~/bundles/z-tree")
    <!--引入bootstrap-table-help.JS文件。该文件包含一个table基类-->
    <script src="~/Scripts/bootstrap-table-help.js"></script>
    <script src="~/Scripts/bootstrap-tree-help.js"></script>
    <script src="~/Scripts/url-help.js"></script>
    <script src="~/Resources/layer-3.0.1/layer.js"></script>
    <script src="~/Resources/mainFrame/js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script src="~/Resources/myScript/UpReport/UpAttendExcption.js"></script>
    <script>
        $(function () {
            $("#divTree").height($.GetBodyHeight());
            $("#divtreeDetail").height($.GetBodyHeight() - 90);
            Lutai.Load("seSheng", "seShi", "searchArea", "testTree", 1, treeClick);
            function treeClick(event, treeId, o) {
                if (o.type == "2") {
                    $("#JianDie").val(o.unit_id);
                    $("#TableFromData").bootstrapTable("refresh");
                }
            }
        });
    </script>
</body>
</html>
